

str1='人生苦短，我用python'
str2="大湖名城，创新高地"
str3='''科教之城，能源之都'''
str4="""中国.合肥"""

print(str1)
print(str2)
print(str3)
print(str4)

print("qwernasd")
print("qwer\nasd")

path1="D:\\Program Files\\python 3.8\\python.exe"
path2=r"D:\Program Files\python 3.8\python.exe"

print(path1)
print(path2)

name,year="python",1989
print(name,"语言诞生于",year,"年")
print("{}P语言诞生于{}年".format(name,year))
print("%s语言诞生于%d年"%(name,year))
print(f"{name}语言诞生于{year}年")


